// private Integer id;
// private Integer userId;
// private Integer friendId;
// private Boolean self;
// private String text;
// private String image;
// private LocalDateTime createTime;



export default class message{
    id:number;
    userId:number;
    friendId:number;
    self :boolean;
    text:string;
    image:string;
    createTime:string;

  constructor(a,b,c,d,f,e,g) {
     this.id=a;
    this.userId=b;
    this.friendId=c;
    this.self=d;
    this.text=f;
    this.image=e;
    this.createTime=g;
  }



}